from django import forms
from .models import *


# from mdeditor.fields import MDTextFormField

class SuggestForm(forms.ModelForm):
    class Meta:
        model = Suggest
        fields = '__all__'
        exclude = ['create_at', 'current_node', 'create_user', 'state', 'department']


class ProjectForm(forms.ModelForm):
    class Meta:
        model = Project
        fields = '__all__'
        exclude = ['suggest', 'in_charge', 'verify_user', 'create_user', 'create_at', 'finish_at']


class ProjectRecordForm(forms.ModelForm):
    class Meta:
        model = ProjectRecord
        fields = '__all__'
